package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 冲抵记录对象 tb_against_record
 *
 * @author yajun_ren
 * @date 2022-03-10
 */
@Data
public class AgainstRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "预收单ID")
    private String madvanceReceiptId;

    /** 业务ID */
    @Excel(name = "业务ID")
    private String businessId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 冲抵金额 */
    @Excel(name = "冲抵金额")
    private BigDecimal amountAmount;

    //业务单号
    private String businessNo;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("businessType", getBusinessType())
            .append("amountAmount", getAmountAmount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
